Maybe you could tell them in a creative way like buying them a mug or a frame and printing the baby's ultrasound photo on it
Will they be pleased? How are their relationship problems doing? Could you move out before you tell them? I am thinking it might feel like a burden to them, "another mouth to feed," and so on, unless you are looking very independent and autonomous first.