President Donald Trump has declared a national energy emergency as he aims to boost oil and gas production.