Hip Replacement

I need a hip replacement but my Dr. said if I keep losing weight I may be able to wait for a while. I need some good exercises that I can do while siting in a chair, I have loss 40 lb. already, but it been very slow, If I could exercise I could lose weight faster. I need help.