You can try to change the speed pickup on the transfer case, if that does not work it may be in the computer or live with no speedometer...
Do you have a check engine light on? if so get the code checked, as mentioned above it could be the speed sensor, if the check engine light is not on then it could be a broken wire for the speedo or the speedo stepper motor has gone bad.
Search GMC Sierra 1500 Questions
Are you a UK consumer? CarGurus now has a discussion forum in the UK.
GMC Sierra 1500 Experts