In Lightning I want to add one button on Account Object and click on this button i want to create contact record and some value is passed from account to contact
Sounds like what you want to accomplish is very similar to the following Trailhead Challenge:
Then use that component to create a Lightning action on the Account object. When the action’s button is clicked, it creates a new contact based on form input.
Sounds like what you want to accomplish is very similar to the following Trailhead Challenge:
https://trailhead.salesforce.com/modules/lex_javascript_button_migration/units/javascript_buttons_to_lightning_actions