Stochastic modeling of the firing activity of coupled neurons periodically driven