Nearly two million people have applied to register to vote in the past eight weeks, according to new government figures.