Effective Fokker-Planck equation and chiral anomaly