Former president Donald Trump is suing Facebook, Twitter and Google to restore his social media accounts.