Your going to want to calculate your BMR. Basal metabolic rate. There is plenty of online calculators for that. After that you'll want to take that number and plug it into the Harris-Benedict equation.
That will give you your overall calories in a day. To gain weight simple add a few hundred calories to that number.
Good job on the 14kg!