If you would use it, it would definitely help to lose weight.
Can you get a free pass to a local gym and try out some bikes before you purchase one? You might find things you like and don't like about them. Also try out a spin bike. That could be really fun as well if you get some videos to do with it.
Why are you considering a bike and not another type of exercise machine?