Push ups on a spin bike? Doesn’t sound like a good idea.
a) The handlebars on a spin bike are not designed for a push up.
b) How are you working you core muscles if you body is hunched over the handlebars? Sure you can push against the handles but isn’t the push up designed to work the core stabilizers (and other muscles)?
Ride and stay safe!!