Take it sloooowww. It takes a long time to process these things.
You should tell the kids something, just a little, but something. Kids are perceptive and they probably already know something is going on. They will wonder why you are sleeping in separate rooms. Just let them know everything is OK, you both still love them, nothing is their fault, and they will not be left behind.
Stay strong.
"My actions are my only true belongings. I cannot escape the consequences of my actions. My actions are the ground upon which I stand." Thich Nhat Hanh