Where is the problem? In water, just follow neutralization stoichiometry (citric acid is triprotic). Small excess of base won't hurt, as you want final solution to be basic.
--
buffer calculator, concentration calculator
pH calculator, stoichiometry calculator