Remove the 4 Torx10 screws from under the speedo pod.
Get your fingers in the front lip and lift the speedo up to remove, tuck it out of the way.
This is what you will find.
Push in the plastic clip with your finger and pull the entire unit upwards.
On removal you can see how it is secured.
Push in the clip on the wiring connector and pull the plug out.
You can now fit the replacement or do whatever it is you are doing.