Hello Sunil_fine,
There are many books on soaps and detergents. The most reliable method of getting information is to visit a local library on a university. Creating soaps and detergents is a very large area, and it depends on the area that you are looking at... for example, automotive soaps, hand soaps, dishwasher detergents, industrial cleaners, etc.
It also depends on the material that you wish to remove, its environmental implications, etc.
Is there a specific type of soap or detergent that you are looking at?
talk to you soon,
Eugene Dakin Ph.D., P.Chem.