You can find it in the obj_Player, under the "obj_coin" collision event. There I normally add to the xp variable +1, but you can make it as you like,