The drive inputs are optically insulated so, all you need is to regulate the current to the leds. 2k might be a bit high so I would go for 1500 ohm which by itself, not counting the resistor already in the circuit will limit to 16ma.
One for each control input
One for each control input
Comment