The kinematics of a piston motion must be considered in relation to the mechanical system it is part of. If you want to know about the classic crankshaft/conrod/recip piston mechanism, then there are numerous recip engine texts that cover the topic in detail. If you have some other type of piston mechanism in mind, then do a book search for mechanism design or kinematics.
If you are interested solely in kinematic motion of the piston, then as noted above you can refer to basic texts on IC engine design.
If you want to learn more about it (because piston motion is a fair bit more complicated than that if you're a piston designer), try googling "Piston Secondary Motion" or "Piston Secondary Dynamics" and you'll find a bunch of scholarly articles. Many of the authors also develop software for piston motion simulation (MIT, Ricardo, AVL, etc).