However, it needs to be said that Bach's keyboard music is NOT written for the piano, so if that is your instrument you need to be careful to (1) play each key with equal force, and (2) not use the pedal, ever.
The reason is that Bach's keyboard music is polyphonic, like an orchestra or a choir, and it's important to be able to hear the separate melody of each "voice". A 4-part fugue, for example, has the same theme repeating in Soprano, Alto, Tenor, and Bass and those need to be played with equal importance, not favoring right hand over the left like often played on the piano.
The pedal can't be used at all when playing Baroque music because it carries all notes and so destroys the polyphony. If Bach wants a sound to carry, he expects you to hold down that key (often on the orgue) or to play an ornament like a trill (often on the harpsichord).