M.J.
Part one answer - Co Sleeping can be done safely. The deaths you hear about are from parents who are doing it unsafely.
At 2 months I would not expect a baby to sleep any more than yours is. Sounds completely normal. Is she swaddled? They make swaddle blankets in larger sizes if she wiggles out of it. Eventually she will sleep longer stretches.
Do you really need/want to get her out of your bed? If so, I usually moved to side car sleeping (crib next to your bed) around 3-4 months.
I start my babies sleeping alone at 4 months. I do it at naptime. I lay them in their crib 2 hours after they woke, swaddled, with it darker in the room, a noise machine or fan, and a projector mobile with soft music. Then I do something in the room like clean or fold laundry. I wait for them to fall asleep then sneak out. Once they are used to napping alone then I start them at night.
Part 2 -
Expect your baby to wake every 2 hours at night to nurse. She may or may not only be waking due to gas. If you are a nursing mom expect to have to nurse her back to sleep at this age. Much later on you will have to work on soothing back to sleep at night without nursing. That's a hard transition.