I wouldnt focus on the bike part just yet. I would focus on your health first. Get to the dr and make sure its safe for you to ride and what distance. Work on getting healthy ( even if its just starting healthy habits). THEN get the bike. Im not saying lose 100lbs then get a bike, but you dont want to buy a bike today and then have a heart attack.
Just my 2c