Suntory Beverage & Food has agreed to buy a 51% stake in PepsiCo's Thai soft drinks unit as it targets the second-biggest beverage market in South East Asia.