US President Joe Biden says the White House is in talks with Egypt over a proposed two-day truce in Gaza.