If it’s a midi keyboard, it should be pretty easy to get working. No problem if you got a DAW definitely, but I’m sure there are enough programs that can play piano sounds at midi input.
And midi is mostly just USB nowadays, so connecting should be easy enough.
If it’s not a midi keyboard, it should have its own speakers, otherwise what’s even the purpose?
Electric drums are not a piano though. Getting drum pads (or pads in general) to work correctly can be a bit weird.
I seem to recall that it was convention for all drum pads to always be on midi channel 11, so even if your device normally outputs in channel one, it does that. Maybe try to set it to that? But it’s a long time ago that I’ve worked with that so don’t quote me.