After the takeover, the company will split into two businesses, one focusing on coffee and one on soft drinks.