The Dow Jones Industrial Average extended gains Thursday afternoon, while the S&P 500 and Nasdaq Composite continued to trade in record territory, after President Joe Biden said the White House had reached a deal with a bipartisan group of lawmakers on an infrastructure plan.