If you are certain that the relationship is over, then you need to be apart. It will make separation much easier & clearer. Why are you moving out? Why not him?
next, are you clear that you want to have the baby on your own? A decision only you can make, but you do still have a little time to choose.
do you have somewhere to move to? And a support network? Don’t count on your ex because he doesn’t sound mature enough or trustworthy, and you need people you can trust. Mum, sister, best friend?
So sorry you are going through this but I think you need to spend some time away from him, block him on social media, make some decisions and get some real advice.