Child Custody

Sequence of my case.... 1.I filed a police complain because of domestic abuse since long,My husband was called for counselling,we came home,next day he beat me badly retaliation of police complain,I went to my parents place and in meantime he filed a divorce petition section 13 i. Later he asked me over email to come back and live separated and let kids be allowed to meet him on weekends.I agreed for the sake of kids.His issues and abusiveness continued,I finally filed FIR under section 498a This is a genuine FIR 498 a,and dowry case against my husband and chargesheet also filled. No hearing till now.I was allowing kids to meet him and stay over weekends however he was creating lot of issues,like abusive language in front of kids,harassing me, disturbing me and what not.He has till date not given me 1 penny for kids maintenance,though he promised that he will atleast pay for their education that too 50:50.I pay the EMIs of the house we purchased,I pay the nanny at home,I pay for their school. I have emails where he asked me to come back to our flat,he will move out and we will do co-parenting but he never paid anything.And on top he expects me to pay EMIs of another property we purchased.I am with overburden financial responsibilities . Recently I have blocked all communication with him and not allowing kids to meet him in any form because kids were getting affected. I have proofs of not getting any maintenance from him,no help,and on top abuses and harassment in form of whatsapp chats, account statement,emails. If he files for child custody,will he get child custody to retain on weekends or just visitation?I am scared to handle his presence while handing over kids and also negative impact of all this on kids. Does court understands these issues and allow restricted visitation or no visitation at all? my boys are 5 years and 3 years old.