The Magpies reached the fourth round of the Emirates FA Cup for the first time with 2-0 win over a youthful Derby County.