Commonly used heartburn drugs have been statistically linked to pneumonia in people 60 years and older, according to a study conducted in Britain.