President and his predecessor to headline rallies ahead of elections that will determine control of Congress