Husband left now wants to reconcile

So I had a miscarriage in August 2017. I then conceived after 3 months in November 2017. The day I found out about my pregnancy, I was over the moon. I found out at exactly 4 weeks. I told my husband and he wasn't that happy. That night he physically beat me over a small argument. He didn't apologise and said it was all my fault. Then he started giving me silent treatment as if I do not exist. One day I protested for the silent treatment and he kicked me out of the house. I called my mother and stayed in an apartment. I am 10 weeks now. He has grudges against me because I didn't accept his abusive and manipulative mother (my mother-in-law) He messaged me that now he wants me to come back home for the baby. Previously he said to hell with the baby and pregnancy. He said that he doesn't want kids from me. From weeks 4 to 10 there has not been a single day that he talked about the baby. Suddenly he is mentioning the baby. I don't know what to do. We have been together for 4 years and he has been abusive on and off.