Derby County beat Doncaster 2-0 to keep the heat on Burnley in the race for automatic promotion to the Premier League.