Senators agree on infrastructure plan