The commas must be placed in such a way that the crores, lakhs, thousand, hundreds, tens and units places have a proper demarcation.
So, nine crores five lakh forty-one can be represented numerically as:
9,05,00,041.
Note: There are no thousands in the above number and hence it is denoted as '00' in the ten-thousandths and thousandths places.