Agreed. I routinely grab the Express to Paddington just to get a coffee with a 4-hour connection. The fresh air is great after a long haul arrival in LHR.
Just write "transit" on the customs cards. If they ask just tell the truth - x hour layover and you are going into town for a couple hours.