A Fokker-Planck based approach to control jump processes