Co sleeping issues

Tara • Have two beautiful children
I bed share with my 15 month old for half the night. She always starts in her crib then wakes up at about 3-4 am and then we take her to bed. I am now 10 weeks pregnant and want to cut this out. Also, she has started to kick my pelvic area when she wakes up and I'm afraid she will hurt the baby or am I being crazy? How can I cut out the bed sharing? Any tips are appreciated!