US President Joe Biden urged the leaders of Egypt and Qatar to pressure Hamas militants to agree to a Gaza ceasefire and a hostage deal.