The laser and floaters will neither harm your pregnancy nor your baby. Because you were short-sighted, you chose to have clear lens removal and implant surgery. This has given you floaters and will never go permanently. It will be visible when you look against a bright light or background.
Floaters themselves are harmless, but may sometimes indicate retinal tear or detachment. Your eye specialist will examine the periphery of your retina and treat it, if necessary. Sometimes the so-called posterior capsule becomes thickened to affect clarity of vision and that will clear with YAG laser. There is nothing to worry about pregnancy at all. There is a slight possibility of your child being short-sighted, but nothing can be done to help that now.