President Joe Biden and Donald Trump have agreed to participate in two general election debates, one in June and one in September.