you need to ASK YOUR DOCTOR.
Cycling is non-weight bearing, and stationary cycling is often recommended as an appropriate rehab activity after hip pinning or replacement. But it's not going to be recommended to you over the internet.
check with the people reading your Xrays.