The CEOs of Twitter, Alphabet and Facebook testified to congress on laws that protect their companies from the content their users post.