Huge change in my life coming :(

Things go wrong and sometimes you can control them sometimes not.
I have been there also and found that being the best father you can will help you get through this as well as your kids. As previously stated keep them out of it and do not speak bad of each other as they love you both.
Everything else can be replaced in life but the relationship you have with your kids can never be replaced.