Citric acid is triprotic so you'll need the three acid dissociation constants. If you also have the concentration c0 you just need to write the mass balance (conservation of the anion), charge balance for the whole system, and equilibrium constant expressions and you can calculate [H+]. Approximations will often follow, e.g. if the acid is concentrated then you can neglect [OH-] and Kw, though I cannot think of any other decent approximations for citric acid... since the Ka values are so close.