Two Bendigo men who ambushed a terrified homeless pregnant woman and her partner before stealing their car have been sentenced to serve time behind bars.