Anheuser-Busch InBev and MillerCoors have bowed to pressure from a US blogger and a 50,000-strong petition by revealing online the ingredients they use in their beers.