The U.S. government has banned WhatsApp from devices used by U.S. House of Representatives staff, saying the app poses potential security risks.