These gauges are run by a module that could be bad also a ground connection could be the issue. I attached a diagram to locate the all the grounds in the car and the fuse information for you to check out.
Here is an article about odometers for you review: