The US president is expected to sign an executive order following a row with Twitter.