The contest to be president of the US takes place across 50 states (and the District of Columbia) but it is generally won or lost in a handful of key battlegrounds.