Swimsuits are fine to wear to cenotes since you’ll be swimming and diving. Those looking to dive can usually bring dive gear with them, although some cenotes allow visitors to hire out snorkeling and diving equipment too.
It’s important to note that the ecosystem inside cenotes is incredibly fragile. Wearing sunscreen while visiting a cenote in Tulum should therefore be avoided.