AFAICS the proposal doesn't require them to moderate Twitter users in any way; it requires Twitter to state publicly and clearly what their moderation policies are. But arguably stating its moderation policies is "compelled speech".
Thing is, there's plenty of compelled speech going on, including food labelling laws. There's precedent (although I understand US law doesn't have "precedent" as such, just appeals to successive senior courts).