Emotions about my pregnancy.

My boyfriend snapped when i told him i was pregnant and ever since hes been a total butt to me. He doesnt touch me anymore barely looks at me and when he talks to me its very hurtful. Im just not sure what to do to make him accept this. Im feeling bumbed out. I need advice please. Im not one to take this kind of pain and hurt but i dont want to give up on our family.