Advice!

My SO and I broke up the month after I found out I was pregnant. He and I have serious communication issues and cannot get a long at all. I never wanted to bring a child Into the world without having a family, but this seems to be our reality. I've tried to rekindle our relationship but he'd rather not and due to some of our past issues we don't speak only via email. He's threatened me as far as saying, if I don't do certain things to his liking he'll bring lawyers into our situation and they can decide what's best for our babies living situation. He's stated that he didn't want our child and doesn't even believe it's his. At this point I'm to my limit with his disrespect and esp since we aren't together I will not allow him to control everything I do now. I want my child to have a strong relationship with his poppa regardless of our standing, but I'm  afraid of him and afraid he'll try and take our baby. 
I have a mind to tell him that I've miscarried and raise the child on my own without him knowing, I don't know what to do to make the best decision for the baby and I. 
What should I do in this situation? I'm honestly afraid to not do what he says in case he tries any legalities.