It probably is not acid.
If it was an alkaline or NIMH battery, the electrolyte for both of those is a base (alkali), not an acid. This is unlike the typical car battery, where the electrolyte is an acid.
If the corrosion is not severe, try a little lemon juice (which is a weak acid), which will counteract the alkali deposit from an alkaline or NIMH battery. Even better, use a bit of baking soda after wiping down with lemon juice to neutralize any remaining lemon juice. It's better to have slight alkali remaining than slight acid. Then finally wipe off the contacts with clean water to totally neutralize the PH level.
Do this sparingly, with a Q-tip as you will only make matters worse by dribbling lemon juice or water into the camera.
If the corrosion is severe, nothing will fix the problem as the corrosion actually changes the metal so that it will no longer conduct electricity (corrosion is an electro-mechanical process).
If that is the case, contact the battery manufacturer. Most "reputable" battery manufacturers will repair or replace any damage done by their batteries.
But there are exceptions. Cheap zinc-carbon batteries (also sometimes labelled as "Heavy Duty") have no place in expensive equipment as they are very prone to leakage, and are not usually warranted. And if you bought off-brand batteries at the dollar store, there is usually no battery warranty with those.