President Barack Obama will talk about ways to expand oil and gas production and how to decrease the dependence on foreign oil in a speech at the University of Miami Thursday afternoon, the White House said.