The best way to keep your cookies soft is to make sure you don't over-bake them. The cookies should be faintly golden brown around the edges, but you don't want to bake them any longer than that, or they'll get crispy. You should also be sure to store your cookies in a covered container to preserve their soft texture.