How bad is it - do you notice it with your hands on the bars or is this only noticed with hands off?
ALL bikes will do this to some extent at aprox 35 mph, it's caused by the trail. The road deflects the
steering and the trail straigtens it.
If you are feeling it with your hands still on the bars then you need to check the simple stuff first.
1) tyres and airpreasure.
2) wear and tear to bearings, start witht eh front wheel, steering head, rear wheel and swingarm pivot.
3) are the wheels running true, any rim/tyre damage etc
4)suspension, probably less likly as this will be evident at other times than just deceleration at 40.