Keurig coffee maker - Unsplash.com

Keurig Dr Pepper Inc. agreed to buy JDE Peet’s NV for €15.7 billion ($18.4 billion) to bolster its struggling coffee business before kicking off a split of its operations.