You may want to seek counseling first. Then if you still have irreconcilable differences speak with an attorney. The courts probably won't care as much about your reasons for divorce when considering custody of the kids. The Courts will focus on the best interest of the children.
A weekly guide with tips and legal advice for each stage of the process.