Get comfortable on the bike first.
I would spend a week or 2 getting comfortable on the bike in general if you are not accustomed to riding this type of bike.
I would have a LBS check the tension on the pedals and set them to the losest setting.
When you clip out, are you clipping out on only one foot to set it down? That's how most do it. When I go for a ride my left foot clips in at the beginning (before I ever start peddaling) and i stays clipped in until I get off the bike. (Don't make the same mistake I did and learn to clip out with the right foot, it makes chain ring tattoos on me all the time! Clip out on the left while you are learning so it becomes second nature). It may take some practice for balancing the lean. Do this in your non-clip shoes. Try leaving the right foot on the pedal, and only putting your left foot down. Gently lean a LITTLE to the left as you do so that the bike will lean in the direction of your free foot.
Soon enough it will be in your muscle memory to lean the right way, which will avoud toppling over toward the clipped in foot.
I can't say I recommend this BUT when I was learning, I didn't have anyone to teach me the "right" way. So I learned to clip out by actually rotating my foot TOWARD the bike, rather than outward. For some reason I was stronger in that motion. Not sure this works with your type of pedals, but on SPD's it does. I try to swing the foot outward to clip out now, but if I'm in a hurry to unclip, muscle memory takes over, and I swing toward the bike and pop right out.
It sounds like you are fine on the trainer, so you need to practice the leaning of the bike with one foot still on the pedals.
When I come to a stop, I unclip the foot and hang it downward off the pedal. I squeeze the brakes to time my stop to wear my clipped in foot will stop at the bottom of the pedal stroke. As I'm slowing and my clipped in foot is rotating downward I stand up a little, clearing my rear end from the saddle so that I land my clipped out foot down on the ground and I'm standing over the bike, but in front of the saddle. I can not place a foot flat on the ground while still in the saddle. If I tried to, I'm pretty sure I'd fall over.