The only phone with decent specs AND a hardware keyboard is the BlackBerry Q10. An interesting related news item:
http://www.gsmarena.com/blackberry_ceo_says_most_new_phones_will_have_keyboards-news-7516.phpSo, it seems at least the next wave of BB devices will also sport keyboards. It's a niche market, but it exists. A good way to differentiate themselves. I see them selling primarily to business people who have a second personal phone. BB for business and emails, touchscreen Android or iOS device for personal.
On the other hand, a smartphone keyboard is really not suited to touch typing. Using more than two fingers (or thumbs) is really awkward. A better option may be a good Android device (Galaxy S4 or Note 3 for example) and a JDCarpe 40% keyboard (the Smallfry board)
The newer Samsungs (and probably some other brands) support external USB peripherals such as mice and keyboards. May be a bit big for a jacket pocket, however.
(warning, going off-topic now)I love phones with physical QWERTY keyboards. I have owned a few: Sony Ericsson P900, P910, Xperia X1, Nokia E63, N900. Four of those also have a usable stylus, which is great for taking handwritten notes with sketches as I am wont to do.
The last phone I had with a physical keyboard was the Nokia N900. Loved that thing. So hackable, had mine running 50% overclocked (which it needed, TBH) and it had a decent fully open Linux build on it. Mini PC. I was working in Nokia and waiting for the N950 to be released so I could get it as a company phone, but... Got delayed many times and eventually cancelled as a public device. Then they released the N9 (no keyboard) and I was "rather disappointed". The whole MeeGo project was then cancelled when Stephen Flop took over the helm.
I got a Samsung Galaxy Note instead. Currently using a Note 2. Mainly because of the stylus (pressure sensitive and very accurate) and display size.
Jolla (started by ex-Nokia engineers) have kept the open source OS flame burning with their system and phone (which is selling very well in Europe and particularly in Finland, better than any individual Apple model), but it doesn't have a hardware keyboard (or stylus). I hope the next model does. It helps that they have Android compatibility.
(back on topic again)Many Android browsers do support forward buttons (Boat, Dolphin, Firefox). I like Boat, personally.