Democratic congressional leaders said Tuesday they had reached agreement with President Trump to spend $2 trillion on improving the nation’s infrastructure.

Senate Minority Leader Chuck Schumer and House Speaker Nancy Pelosi were upbeat after the 90-minute session at the White House, with Schumer saying “there was goodwill” on both sides toward developing a bill to overhaul the country’s deteriorating roads and bridges.

“This was a very good start,” the New York senator said, acknowledging that the tone was “different than some of the other meetings we’ve had. We hope it will go to a constructive conclusion.”

He added: “We agreed on a number, which was very, very good.”

Pelosi said she was “excited about the conversation” with Trump, adding: “We did come to one agreement: that the agreement would be big and bold.”

White House spokeswoman Sarah Huckabee Sanders called the gathering “excellent and productive” and said the administration looked forward to meeting again to discuss another critical issue, lowering prescription-drug prices.

“We have to invest in this country’s future and bring our infrastructure to a level better than it has ever been before. We will have another meeting in three weeks to discuss specific proposals and financing methods,” she said.

Senate Majority Leader Mitch McConnell told reporters that any effort by Democrats to change the 2017 tax overhaul to help finance the infrastructure plan would be dead on arrival.

“This tax bill is what’s generated this robust economy,” McConnell said. “The last thing we want to do is step on all of this growth by stepping back and repealing, in effect, what has generated all this prosperity and low unemployment.”

Trump didn’t bring up the Democratic congressional investigations into his administration and his finances, Schumer said, adding that those probes would continue.

“I believe we can do both at once,” he said. “The two are not mutually exclusive.”

The Gateway project linking New York and New Jersey via a new rail tunnel did not “specifically” come up in the meeting, but a source said it would benefit from any infrastructure spending.

“A portion of dollars from any infrastructure deal would be a benefit to Gateway,” the source said. “Chuck Schumer — very adeptly — keeps squirreling away hundreds of millions for Gateway in every Trump budget, regardless.”

Trump, Pelosi and Schumer met off camera, resulting in a far different outcome than their previous sit-down, a heated televised meeting last December when they got into a stalemate over $5.7 billion in funding for Trump’s proposed border wall that led to a government shutdown.