Digitally Controlled Variable Capacitor
You could use a FET bus switch, like the SN74CBT3125, however this will add about 5 ohms resistance in series with each capacitor.  If that is a problem, you could always use reed relays like this one, each driven by a FET or BJT transistor, which would exactly emulate your current arrangement with the pushbuttons.