X2. They are electrical. So I'd also check all the wiring connections between them and the senders.Like I said you will probably have to replace those two gauges
All you can do is lightly wiggle the potentiometer shafts around a bit and spray some electronic cleaner in the housing
The gauge shafts are probably a little rusty from the car sitting