I hate to say it, but free and animation software are not the easiest combination to come by, lol. A lot of free/cheap softwares
will work - they just tend to take some workarounds. My suggestion(s) would be the following, but keep in mind that there is plenty of software I haven't tried:
1. Blender (because I like free things). Blender will let you animate in 2D or 3D, and you'll be able to layer things as needed. You could:
A. Draw out each frame and import them as a texture (or PNG Sequence).
B. Import a storyboard as a texture, draw out each frame using a brush tool, then export as an animation.
C. Create the animation in 3D, render the animation as a PNG Sequence, then use the frames as a reference to draw over.
2. Adobe After Effects CC (relatively cheap). After Effects is what I use to make animated sequence for my game - I've made menus, opening sequences, and ending credits this way. You could:
A. Draw out each frame and import them as a PNG Sequence.
B. Animate each asset separately (backgrounds characters, etc.), pre-compose them (basically turn them into animated layers), then combine them however you'd like.
3. Adobe Animate CC (relatively cheap). I haven't used this software since it was still Adobe Flash, but I assume it's similar. Not my favorite, but works well for 2D animation. You could:
A. Draw out each frame and import them as a PNG Sequence.
B. Draw out and animate each asset (backgrounds characters, etc.) as separate layers.