Most nationalities do not need a visa.
If you need a visa you will need to apply at a China embassy.
Visas are required for nationals from Afghanistan, Angola, Azerbaijan, Bangladesh, Burundi, Cambodia, Cameroon, Central African Republic, Congo Republic, Congo (DRC), Cote d'Ivoire, Cuba, Eritrea, Ethiopia, Gambia, Georgia, Ghana, Guinea-Bissau, Iran, Iraq, Korea(North), Kyrgystan, Laos, Lebanon, Liberia, Libya, Moldova, Myanmar, Nepal, Nicaragua, Nigeria, Pakistan, Palestine, Rwanda, Senegal, Sierra Leone, Solomon Islands, Somalia, South Sudan, Sri Lanka, Sudan, Syria, Tajikistan, Togo, Turkmenistan, Uzbekistan and Vietnam.
Indian passport holders need to have pre approval registration before arriving.
Visa requirements Hong Kong
Foreign consulates in Hong Kong
Pre-arrival Registration for Indian Nationals