welcome to HealthcareMagic
The count of 40 million is less and the active motile are also less.It can be due to reasons like smoking;alcohol;pollution;exposure to radiation
like X-ray;mobiles;etc and even due to suffered diseases like varicocele;orchitis
.He needs to get examined by a Urologist/Andrologist and according to the reason he can be treated easily.Presently you should tell him to quit bad habits if he has any like smoking or drinking.The doctor will start on some antioxidants
and his count as well as motility can be improved in 2-3 months.