A particle-in-cell framework for the simulation of cellular chemotaxis