Unlike marble, granite is a relatively hard, non- porous, natural stone. It is relatively unaffected by most chemicals. However, I would not recommend harsh, caustic chemicals on it. Synthetic scrubbing pads can be used on these surfaces. Clean as often as needed keep grime and sand removed.
Soil acts as an abrasive and damages the floor.
Wet mop the solution onto the floor, and allow the solution to remain several minutes. Then mop up the dirt-filled solution, changing rinse water often. Keep the floor wet at all times during the cleaning operation. Otherwise, dissolved soil dries back onto the floor. When the floor is dry, buff with an electric polishing machine, if you have one.