You mean if you are stationary in neutral holding the RPM at 2,000 it fluctuates.
Or when you are driving along holding a steady throttle it changes RPM on its own?
The TD5 has an electronic throttle pedal and it's known to sometimes give trouble. You could try a new (or good used) one. Also check the red plug on the ECU (under the drivers seat if the Defender is RHD) to see if it's got oil in it. lf there is oil in the plug it can give various issues, and to cure it you'll need to change the injector harness.
lt's a fairly easy job you can do yourself and the part is around £50.