Russian hackers targeted 21 U.S. states' election systems in last year's presidential race, a Department of Homeland Security official told Congress on Wednesday.