Infalling clouds on to supermassive black hole binaries - I. Formation of discs, accretion and gas dynamics