Twitter unveiled the new effort after U.S. senators introduced legislation that would require tech companies to add disclaimers to political ads.