Trump made the comments while speaking at a White House small business event on Tuesday.
"What we are getting from Foxconn is that they are committing to Wisconsin", Ryan said during a wide-ranging one-on-one interview with FOX6 News, NBC15's sister station.
Chinese company Foxconn said last week it would to spend $10 billion on a state-of-the-art manufacturing facility in Wisconsin, and create 3,000 jobs in the process.
There are reports that elements of the deal were personally negotiated between US President Donald Trump and Foxconn Chairman Terry Gou.
"But he told me that off the record, so I promised I wouldn't tell anyone", Trump added.
Foxconn repeated in a statement Wednesday that the Wisconsin plant "will be the first of a series of facilities we will be building in several states".
Wisconsin Governor Scott Walker suggested Tuesday that Hon Hai is likely to commit to other investment projects in the state, according to another US media report. "We will provide an update as soon as we have finalized those plans".
"He told me off the record he thinks he may go $30 billion".
Kashmir encounter: two militants killed in Pulwama
He said a gunfight broke out between the two sides early Sunday, in which two ultras were killed. Internet services were suspended in Pulwama district after the militants were gunned down.
Foxconn is the world's largest contract maker of electronics, with factories across mainland China.
Foxconn is best known for making iPhones and other Apple devices but its long list of customers includes Sony Corp., Dell Inc. and BlackBerry Ltd.
The Wisconsin factory is scheduled to open by 2020.
Thursday's hearing came just six days after the bill was introduced.
But doing so requires approval from a Republican-controlled Legislature that still hasn't passed a 2017-19 state budget. State Senate Majority Leader Scott Fitzgerald says there are too many unanswered questions about the tax breaks that must be dealt with before a vote.
Critics have raised alarms about other provisions waiving environmental permits and regulations to speed construction of the plant.
It's new plant will be in the USA state of Wisconsin.