Republicans are gaining ground towards controlling both chambers of Congress despite both parties flipping House seats.