Early pregnancy and Gym?

Ta

What exercises would you all say are safe to do during early pregnancy? I have a membership with a gym that has cycling classes and a pool. I was thinking about doing light cycling resistance and swimming?