The financing would aid Keurig Dr Pepper’s takeover of JDE Peet’s and eventual split into two companies.