Are pubs losing out to cafes?

The rise of coffee shops see a decline in pubs, new BBC data reveals.