Metal parts expand when heated. Dousing them in cold water will cause them to contract quickly, which could damage the parts or their finish. This is especially true of the engine and exhaust. Remember that the fancy finish on your chrome pipes is a thin, relatively fragile layer that is plated onto them. Wait until your bike’s engine is cool enough to touch before washing your motorcycle.