For most people, using a regular smartphone will work to record.
Many students simply place their phone on the side of their piano or keyboard to record.
For better visibility, we recommend getting a tripod with a smartphone mount or a simple smartphone stand.
For more information about stands and camera options, you can view this related article.