1) Is there any formula or way to find out the correct capacitor values at in & out of 78L05?
No! Simple rule of thumb. place 220 nF at the input and 100 nF at the output, the closest possible to the regulator terminal.

Al.