Injection and coalescence of bubbles in a quiescent inviscid liquid