Around the world, the areas most suitable for growing the bean could be cut in two by 2050. With high CO2 emissions, they could even shrink by 60%.