US President Barack Obama will announce Thursday he is offering work permits for up to five million undocumented migrants, protecting them from deportation, the White House said.